<template>
    <div class="song">
        <img :src="song.al.picUrl" alt="">
    </div>
</template>

<script>
export default {
    data() {
        return {
            song:{}
        }
    },
    mounted() {
        var {id} = this.$route.params
        this.$http(`http://122.112.161.135:3000/song/detail?ids=${id}`).then(res=>{
            this.song = res.data.songs[0]
        })
    },
}
</script>

<style scoped>
.song img{
    width: 100%;
}
</style>